package lua;
import io.netty.buffer.ByteBufAllocator;
import io.netty.buffer.ByteBuf;
import lion.netty4.message.RequestMessageRaw;
import lion.netty4.message.SendToMessageRaw;
public final class LuaMessageSss{
	public static final class C2SSSSCreateRoom{
		public short cfg_index;
		public byte anti_cheet;
		public byte mapai;
		public byte daqiang;
		public byte sunzi_a;
		public byte baodao;
		public byte is_jindou;
		public int jindouNum;
		public byte jindou_type;
		public byte roomFeeType;
		public byte player_count;
		public byte[] add_color;
		public static final int id = 1401;

		public static C2SSSSCreateRoom parse(RequestMessageRaw request){
			C2SSSSCreateRoom retObj = new C2SSSSCreateRoom();
			try{
			retObj.cfg_index=request.readShort();
			retObj.anti_cheet=request.readByte();
			retObj.mapai=request.readByte();
			retObj.daqiang=request.readByte();
			retObj.sunzi_a=request.readByte();
			retObj.baodao=request.readByte();
			retObj.is_jindou=request.readByte();
			retObj.jindouNum=request.readInt();
			retObj.jindou_type=request.readByte();
			retObj.roomFeeType=request.readByte();
			retObj.player_count=request.readByte();
			int add_color_size = request.readInt();
				retObj.add_color = new byte[add_color_size];
				for(int i=0;i<add_color_size;i++){
					retObj.add_color[i]=request.readByte();
				}
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CSSSCreateRoom{
		public String room_id;
		public short round_count;
		public byte anti_cheet;
		public byte mapai;
		public byte daqiang;
		public byte sunzi_a;
		public byte baodao;
		public byte is_jindou;
		public int jindouNum;
		public byte roomFeeType;
		public byte player_count;
		public byte[] add_color;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1402);
			retMsg.writeString(this.room_id);
			retMsg.writeShort(this.round_count);
			retMsg.writeByte(this.anti_cheet);
			retMsg.writeByte(this.mapai);
			retMsg.writeByte(this.daqiang);
			retMsg.writeByte(this.sunzi_a);
			retMsg.writeByte(this.baodao);
			retMsg.writeByte(this.is_jindou);
			retMsg.writeInt(this.jindouNum);
			retMsg.writeByte(this.roomFeeType);
			retMsg.writeByte(this.player_count);
			if(this.add_color == null || this.add_color.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.add_color.length);
				for(int i=0;i<this.add_color.length;i++){
			retMsg.writeByte(this.add_color[i]);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SSSSJoinRoom{
		public String room_id;
		public static final int id = 1403;

		public static C2SSSSJoinRoom parse(RequestMessageRaw request){
			C2SSSSJoinRoom retObj = new C2SSSSJoinRoom();
			try{
			retObj.room_id=request.readString();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CSSSJoinRoom{
		public String room_id;
		public short round_count;
		public byte anti_cheet;
		public byte mapai;
		public byte daqiang;
		public byte sunzi_a;
		public byte baodao;
		public byte is_jindou;
		public int jindouNum;
		public SSSMemberInfo[] members;
		public byte roomFeeType;
		public byte player_count;
		public byte[] add_color;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1404);
			retMsg.writeString(this.room_id);
			retMsg.writeShort(this.round_count);
			retMsg.writeByte(this.anti_cheet);
			retMsg.writeByte(this.mapai);
			retMsg.writeByte(this.daqiang);
			retMsg.writeByte(this.sunzi_a);
			retMsg.writeByte(this.baodao);
			retMsg.writeByte(this.is_jindou);
			retMsg.writeInt(this.jindouNum);
			if(this.members == null || this.members.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.members.length);
				for(int i=0;i<this.members.length;i++){
					retMsg.writeInt(this.members[i].player_id);
					retMsg.writeString(this.members[i].name);
					retMsg.writeShort(this.members[i].sex);
					retMsg.writeString(this.members[i].headimg);
					retMsg.writeInt(this.members[i].level);
					retMsg.writeInt(this.members[i].jindou);
				}
			}
			retMsg.writeByte(this.roomFeeType);
			retMsg.writeByte(this.player_count);
			if(this.add_color == null || this.add_color.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.add_color.length);
				for(int i=0;i<this.add_color.length;i++){
			retMsg.writeByte(this.add_color[i]);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class PushSSSPlayerJoin{
		public short seat_index;
		public SSSMemberInfo member_info;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1406);
			retMsg.writeShort(this.seat_index);
			if(this.member_info == null){
				retMsg.writeBool(false);
			}else{
				retMsg.writeBool(true);
					retMsg.writeInt(this.member_info.player_id);
					retMsg.writeString(this.member_info.name);
					retMsg.writeShort(this.member_info.sex);
					retMsg.writeString(this.member_info.headimg);
					retMsg.writeInt(this.member_info.level);
					retMsg.writeInt(this.member_info.jindou);
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class SSSMemberInfo{
		public int player_id;
		public String name;
		public short sex;
		public String headimg;
		public int level;
		public int jindou;
		public SSSMemberInfo(int pplayer_id,String pheadimg,int plevel,short psex,int pjindou,String pname){
			this.player_id=pplayer_id;
			this.headimg=pheadimg;
			this.level=plevel;
			this.sex=psex;
			this.jindou=pjindou;
			this.name=pname;
		}
		public SSSMemberInfo(){}
	}
	public static final class C2SSssDismissRoom{
		public static final int id = 1407;

		public static C2SSssDismissRoom parse(RequestMessageRaw request){
			C2SSssDismissRoom retObj = new C2SSssDismissRoom();
			try{
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CSssDismissRoom{
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1408);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class PushSssDismissRoom{
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1410);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SSssBeginFight{
		public static final int id = 1411;

		public static C2SSssBeginFight parse(RequestMessageRaw request){
			C2SSssBeginFight retObj = new C2SSssBeginFight();
			try{
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CSssBeginFight{
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1412);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class PushSssStart{
		public String room_server_host;
		public int room_server_port;
		public byte[] my_cards;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1414);
			retMsg.writeString(this.room_server_host);
			retMsg.writeInt(this.room_server_port);
			if(this.my_cards == null || this.my_cards.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.my_cards.length);
				for(int i=0;i<this.my_cards.length;i++){
			retMsg.writeByte(this.my_cards[i]);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SSssConnectRoom{
		public long sessionId;
		public static final int id = 1415;

		public static C2SSssConnectRoom parse(RequestMessageRaw request){
			C2SSssConnectRoom retObj = new C2SSssConnectRoom();
			try{
			retObj.sessionId=request.readLong();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CSssConnectRoom{
		public int is_success;
		public S2CSssConnectRoom(int pis_success){
			this.is_success=pis_success;
		}
		public S2CSssConnectRoom(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1416);
			retMsg.writeInt(this.is_success);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SSssPeiPai{
		public byte[] pai;
		public boolean use_special;
		public static final int id = 1417;

		public static C2SSssPeiPai parse(RequestMessageRaw request){
			C2SSssPeiPai retObj = new C2SSssPeiPai();
			try{
			int pai_size = request.readInt();
				retObj.pai = new byte[pai_size];
				for(int i=0;i<pai_size;i++){
					retObj.pai[i]=request.readByte();
				}
			retObj.use_special=request.readBool();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CSssPeiPai{
		public short is_success;
		public S2CSssPeiPai(short pis_success){
			this.is_success=pis_success;
		}
		public S2CSssPeiPai(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1418);
			retMsg.writeShort(this.is_success);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SSSSJoinRoomCheck{
		public String room_id;
		public static final int id = 1419;

		public static C2SSSSJoinRoomCheck parse(RequestMessageRaw request){
			C2SSSSJoinRoomCheck retObj = new C2SSSSJoinRoomCheck();
			try{
			retObj.room_id=request.readString();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CSSSJoinRoomCheck{
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1420);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class PushSssPeiPaiFinish{
		public byte finish_player_index;
		public PushSssPeiPaiFinish(byte pfinish_player_index){
			this.finish_player_index=pfinish_player_index;
		}
		public PushSssPeiPaiFinish(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1422);
			retMsg.writeByte(this.finish_player_index);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class PushSssCalculate{
		public SssCardArray[] card_all;
		public IntList[] m_bCompareResult;
		public IntList[] m_bShootState;
		public int[] m_bThreeKillResult;
		public int[] m_bToltalWinDaoShu;
		public int[] m_bCompareDouble;
		public int[] m_bSpecialCompareResult;
		public int[] m_lGameScore;
		public boolean[] use_special;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1424);
			if(this.card_all == null || this.card_all.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.card_all.length);
				for(int i=0;i<this.card_all.length;i++){
					if(this.card_all[i].pai == null || this.card_all[i].pai.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.card_all[i].pai.length);
				for(int pai_idx=0;pai_idx<this.card_all[i].pai.length;pai_idx++){
			retMsg.writeByte(this.card_all[i].pai[pai_idx]);
				}
			}
				}
			}
			if(this.m_bCompareResult == null || this.m_bCompareResult.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.m_bCompareResult.length);
				for(int i=0;i<this.m_bCompareResult.length;i++){
					if(this.m_bCompareResult[i].pai == null || this.m_bCompareResult[i].pai.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.m_bCompareResult[i].pai.length);
				for(int pai_idx=0;pai_idx<this.m_bCompareResult[i].pai.length;pai_idx++){
			retMsg.writeInt(this.m_bCompareResult[i].pai[pai_idx]);
				}
			}
				}
			}
			if(this.m_bShootState == null || this.m_bShootState.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.m_bShootState.length);
				for(int i=0;i<this.m_bShootState.length;i++){
					if(this.m_bShootState[i].pai == null || this.m_bShootState[i].pai.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.m_bShootState[i].pai.length);
				for(int pai_idx=0;pai_idx<this.m_bShootState[i].pai.length;pai_idx++){
			retMsg.writeInt(this.m_bShootState[i].pai[pai_idx]);
				}
			}
				}
			}
			if(this.m_bThreeKillResult == null || this.m_bThreeKillResult.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.m_bThreeKillResult.length);
				for(int i=0;i<this.m_bThreeKillResult.length;i++){
			retMsg.writeInt(this.m_bThreeKillResult[i]);
				}
			}
			if(this.m_bToltalWinDaoShu == null || this.m_bToltalWinDaoShu.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.m_bToltalWinDaoShu.length);
				for(int i=0;i<this.m_bToltalWinDaoShu.length;i++){
			retMsg.writeInt(this.m_bToltalWinDaoShu[i]);
				}
			}
			if(this.m_bCompareDouble == null || this.m_bCompareDouble.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.m_bCompareDouble.length);
				for(int i=0;i<this.m_bCompareDouble.length;i++){
			retMsg.writeInt(this.m_bCompareDouble[i]);
				}
			}
			if(this.m_bSpecialCompareResult == null || this.m_bSpecialCompareResult.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.m_bSpecialCompareResult.length);
				for(int i=0;i<this.m_bSpecialCompareResult.length;i++){
			retMsg.writeInt(this.m_bSpecialCompareResult[i]);
				}
			}
			if(this.m_lGameScore == null || this.m_lGameScore.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.m_lGameScore.length);
				for(int i=0;i<this.m_lGameScore.length;i++){
			retMsg.writeInt(this.m_lGameScore[i]);
				}
			}
			if(this.use_special == null || this.use_special.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.use_special.length);
				for(int i=0;i<this.use_special.length;i++){
			retMsg.writeBool(this.use_special[i]);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class SssCardArray{
		public byte[] pai;
	}
	public static final class IntList{
		public int[] pai;
	}
	public static final class C2SSssRoundEnd{
		public static final int id = 1425;

		public static C2SSssRoundEnd parse(RequestMessageRaw request){
			C2SSssRoundEnd retObj = new C2SSssRoundEnd();
			try{
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CSssRoundEnd{
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1426);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class PushSssNextRound{
		public byte[] my_cards;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1428);
			if(this.my_cards == null || this.my_cards.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.my_cards.length);
				for(int i=0;i<this.my_cards.length;i++){
			retMsg.writeByte(this.my_cards[i]);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SSssVoicePlay{
		public ByteBuf content;
		public static final int id = 1429;

		public static C2SSssVoicePlay parse(RequestMessageRaw request){
			C2SSssVoicePlay retObj = new C2SSssVoicePlay();
			try{
			retObj.content=request.readByteArray();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CSssVoicePlay{
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1430);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class PushSssVoicePlay{
		public byte player_index;
		public ByteBuf content;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1432);
			retMsg.writeByte(this.player_index);
			retMsg.writeByteArray(this.content);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SSssBackRoomHall{
		public static final int id = 1433;

		public static C2SSssBackRoomHall parse(RequestMessageRaw request){
			C2SSssBackRoomHall retObj = new C2SSssBackRoomHall();
			try{
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CSssBackRoomHall{
		public S2CSSSJoinRoom hall_info;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1434);
			if(this.hall_info == null){
				retMsg.writeBool(false);
			}else{
				retMsg.writeBool(true);
					retMsg.writeString(this.hall_info.room_id);
					retMsg.writeShort(this.hall_info.round_count);
					retMsg.writeByte(this.hall_info.anti_cheet);
					retMsg.writeByte(this.hall_info.mapai);
					retMsg.writeByte(this.hall_info.daqiang);
					retMsg.writeByte(this.hall_info.sunzi_a);
					retMsg.writeByte(this.hall_info.baodao);
					retMsg.writeByte(this.hall_info.is_jindou);
					retMsg.writeInt(this.hall_info.jindouNum);
					if(this.hall_info.members == null || this.hall_info.members.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.hall_info.members.length);
				for(int members_idx=0;members_idx<this.hall_info.members.length;members_idx++){
					retMsg.writeInt(this.hall_info.members[members_idx].player_id);
					retMsg.writeString(this.hall_info.members[members_idx].name);
					retMsg.writeShort(this.hall_info.members[members_idx].sex);
					retMsg.writeString(this.hall_info.members[members_idx].headimg);
					retMsg.writeInt(this.hall_info.members[members_idx].level);
					retMsg.writeInt(this.hall_info.members[members_idx].jindou);
				}
			}
					retMsg.writeByte(this.hall_info.roomFeeType);
					retMsg.writeByte(this.hall_info.player_count);
					if(this.hall_info.add_color == null || this.hall_info.add_color.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.hall_info.add_color.length);
				for(int add_color_idx=0;add_color_idx<this.hall_info.add_color.length;add_color_idx++){
			retMsg.writeByte(this.hall_info.add_color[add_color_idx]);
				}
			}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SSssBackRoom{
		public static final int id = 1435;

		public static C2SSssBackRoom parse(RequestMessageRaw request){
			C2SSssBackRoom retObj = new C2SSssBackRoom();
			try{
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CSssBackRoom{
		public String room_id;
		public short round_count;
		public byte anti_cheet;
		public byte mapai;
		public byte daqiang;
		public byte sunzi_a;
		public byte baodao;
		public byte is_jindou;
		public byte jindou_type;
		public short current_round;
		public SSSMemberInfo[] members;
		public byte[] my_cards;
		public int[] score;
		public int create_time;
		public int[] finishedplayer;
		public SssCardArray[] card_all;
		public int[] m_lGameScore;
		public IntList[] m_bCompareResult;
		public int[] m_bToltalWinDaoShu;
		public boolean[] use_special;
		public byte votedissPlayer;
		public int votedisstime;
		public byte[] votedissstate;
		public int jindounum;
		public byte player_count;
		public byte[] add_color;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1436);
			retMsg.writeString(this.room_id);
			retMsg.writeShort(this.round_count);
			retMsg.writeByte(this.anti_cheet);
			retMsg.writeByte(this.mapai);
			retMsg.writeByte(this.daqiang);
			retMsg.writeByte(this.sunzi_a);
			retMsg.writeByte(this.baodao);
			retMsg.writeByte(this.is_jindou);
			retMsg.writeByte(this.jindou_type);
			retMsg.writeShort(this.current_round);
			if(this.members == null || this.members.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.members.length);
				for(int i=0;i<this.members.length;i++){
					retMsg.writeInt(this.members[i].player_id);
					retMsg.writeString(this.members[i].name);
					retMsg.writeShort(this.members[i].sex);
					retMsg.writeString(this.members[i].headimg);
					retMsg.writeInt(this.members[i].level);
					retMsg.writeInt(this.members[i].jindou);
				}
			}
			if(this.my_cards == null || this.my_cards.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.my_cards.length);
				for(int i=0;i<this.my_cards.length;i++){
			retMsg.writeByte(this.my_cards[i]);
				}
			}
			if(this.score == null || this.score.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.score.length);
				for(int i=0;i<this.score.length;i++){
			retMsg.writeInt(this.score[i]);
				}
			}
			retMsg.writeInt(this.create_time);
			if(this.finishedplayer == null || this.finishedplayer.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.finishedplayer.length);
				for(int i=0;i<this.finishedplayer.length;i++){
			retMsg.writeInt(this.finishedplayer[i]);
				}
			}
			if(this.card_all == null || this.card_all.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.card_all.length);
				for(int i=0;i<this.card_all.length;i++){
					if(this.card_all[i].pai == null || this.card_all[i].pai.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.card_all[i].pai.length);
				for(int pai_idx=0;pai_idx<this.card_all[i].pai.length;pai_idx++){
			retMsg.writeByte(this.card_all[i].pai[pai_idx]);
				}
			}
				}
			}
			if(this.m_lGameScore == null || this.m_lGameScore.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.m_lGameScore.length);
				for(int i=0;i<this.m_lGameScore.length;i++){
			retMsg.writeInt(this.m_lGameScore[i]);
				}
			}
			if(this.m_bCompareResult == null || this.m_bCompareResult.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.m_bCompareResult.length);
				for(int i=0;i<this.m_bCompareResult.length;i++){
					if(this.m_bCompareResult[i].pai == null || this.m_bCompareResult[i].pai.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.m_bCompareResult[i].pai.length);
				for(int pai_idx=0;pai_idx<this.m_bCompareResult[i].pai.length;pai_idx++){
			retMsg.writeInt(this.m_bCompareResult[i].pai[pai_idx]);
				}
			}
				}
			}
			if(this.m_bToltalWinDaoShu == null || this.m_bToltalWinDaoShu.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.m_bToltalWinDaoShu.length);
				for(int i=0;i<this.m_bToltalWinDaoShu.length;i++){
			retMsg.writeInt(this.m_bToltalWinDaoShu[i]);
				}
			}
			if(this.use_special == null || this.use_special.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.use_special.length);
				for(int i=0;i<this.use_special.length;i++){
			retMsg.writeBool(this.use_special[i]);
				}
			}
			retMsg.writeByte(this.votedissPlayer);
			retMsg.writeInt(this.votedisstime);
			if(this.votedissstate == null || this.votedissstate.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.votedissstate.length);
				for(int i=0;i<this.votedissstate.length;i++){
			retMsg.writeByte(this.votedissstate[i]);
				}
			}
			retMsg.writeInt(this.jindounum);
			retMsg.writeByte(this.player_count);
			if(this.add_color == null || this.add_color.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.add_color.length);
				for(int i=0;i<this.add_color.length;i++){
			retMsg.writeByte(this.add_color[i]);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SSssForceDismisroom{
		public static final int id = 1437;

		public static C2SSssForceDismisroom parse(RequestMessageRaw request){
			C2SSssForceDismisroom retObj = new C2SSssForceDismisroom();
			try{
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CSssForceDismisroom{
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1438);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class PushSssForceDismissRoom{
		public byte player_index;
		public PushSssForceDismissRoom(byte pplayer_index){
			this.player_index=pplayer_index;
		}
		public PushSssForceDismissRoom(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1440);
			retMsg.writeByte(this.player_index);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SSssChat{
		public byte msg_index;
		public static final int id = 1441;

		public static C2SSssChat parse(RequestMessageRaw request){
			C2SSssChat retObj = new C2SSssChat();
			try{
			retObj.msg_index=request.readByte();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CSssChat{
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1442);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class PushSssChat{
		public byte player_index;
		public byte msg_index;
		public PushSssChat(byte pplayer_index,byte pmsg_index){
			this.player_index=pplayer_index;
			this.msg_index=pmsg_index;
		}
		public PushSssChat(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1444);
			retMsg.writeByte(this.player_index);
			retMsg.writeByte(this.msg_index);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SVoteDissSssroom{
		public byte vote;
		public static final int id = 1445;

		public static C2SVoteDissSssroom parse(RequestMessageRaw request){
			C2SVoteDissSssroom retObj = new C2SVoteDissSssroom();
			try{
			retObj.vote=request.readByte();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CVoteDissSssroom{
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1446);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class PushVoteDissSssroom{
		public byte index;
		public byte result;
		public PushVoteDissSssroom(byte presult,byte pindex){
			this.result=presult;
			this.index=pindex;
		}
		public PushVoteDissSssroom(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1448);
			retMsg.writeByte(this.index);
			retMsg.writeByte(this.result);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class PushSssRoomDissmiss{
		public byte index;
		public byte state;
		public PushSssRoomDissmiss(byte pindex,byte pstate){
			this.index=pindex;
			this.state=pstate;
		}
		public PushSssRoomDissmiss(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1450);
			retMsg.writeByte(this.index);
			retMsg.writeByte(this.state);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
}
